package bridge;

/**
 * @Author liangliangzhao
 * @data 2023/3/29 17:19
 */

public abstract class Phone {
    //组合品牌
    private Brand brand;
    public Phone(Brand brand){
        super();
        this.brand = brand;
    }
    protected void open(){
        this.brand.open();
    }
    protected void close(){
        this.brand.close();
    }
    protected void call(){
        this.brand.call();
    }
}
